package com.oracle.application.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangtao
 * @since 2021-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Admins对象", description="")
public class AdminsVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "登录名")
    private String loginname;

    @ApiModelProperty(value = "密码")
    private String pwd;

    @ApiModelProperty(value = "添加时间")
    private LocalDateTime createdate;

    @ApiModelProperty(value = "过期时间")
    private LocalDateTime lockdate;

    @ApiModelProperty(value = "错误次数 最多3次")
    private Integer failcount;

    @ApiModelProperty(value = "状态 0 正常 1 锁定")
    private Integer status;


}
